package com.prs.crm.dao.receipt.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.receipt.ReceiptFlowDao;
import com.prs.crm.domain.receipt.ReceiptFlow;

public class ReceiptFlowDaoImpl extends BaseDaoImpl<ReceiptFlow> implements ReceiptFlowDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<ReceiptFlow> getAllReceiptFlow() {
		Criteria criteria=this.getSession().createCriteria(ReceiptFlow.class);
		return criteria.list();
	}

}
